package model

import (
	"time"
)

type AuLottory struct {
	Id               int       `xorm:"not null pk autoincr INT(11)"`
	LottoryName      string    `xorm:"not null VARCHAR(100)"`
	LottoryImage     string    `xorm:"not null VARCHAR(200)"`
	LottoryType      int       `xorm:"not null TINYINT(4)"`
	LottoryAward     string    `xorm:"not null VARCHAR(100)"`
	LottoryStartTime time.Time `xorm:"not null DATETIME"`
	LottoryEndTime   time.Time `xorm:"not null DATETIME"`
	LottoryTime      time.Time `xorm:"not null DATETIME"`
	Sse              float64   `xorm:"not null DOUBLE(10,2)"`
	Szs              float64   `xorm:"not null DOUBLE(10,2)"`
	LottoryWinNum    int       `xorm:"not null INT(11)"`
	LottoryStatus    int       `xorm:"not null default 1 TINYINT(4)"`
	CreateTime       time.Time `xorm:"not null default 'CURRENT_TIMESTAMP' TIMESTAMP"`
}
